package com.zhouker.workback.model;

import com.zhouker.workback.dao.UserLoginDao;

/**
 * @author ASUS
 */
public class UserLoginModel {
	public boolean userLogin(String userId, String userPassword) {
		UserLoginDao userLoginDao = new UserLoginDao();
		String tmpPassword = userLoginDao.getterPasswords(userId);
		return userPassword.equals(tmpPassword);
	}
}
